home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_T_e_x_t_F_i_e_l_d_P_o_s_T_o_X_Y - A TextField function that accesses the
- x and y position of a character position
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/TextF.h>
-
- Boolean XmTextFieldPosToXY (wwwwiiiiddddggggeeeetttt,,,, ppppoooossssiiiittttiiiioooonnnn,,,, xxxx,,,, yyyy)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nppppoooossssiiiittttiiiioooonnnn;
- _P_o_s_i_t_i_o_n ****xxxx;
- _P_o_s_i_t_i_o_n ****yyyy;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_T_e_x_t_F_i_e_l_d_P_o_s_T_o_X_Y accesses the x and y position, relative
- to the upper left corner of the TextField widget, of a given
- character position in the text buffer.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the TextField widget ID
-
- ppppoooossssiiiittttiiiioooonnnn
- Specifies the character position in the text for which
- the x and y position is accessed. This is an integer
- number of characters from the beginning of the buffer.
- The first character position is 0.
-
- xxxx Specifies the pointer in which the x position, relative
- to the upper left corner of the widget, is returned.
- This value is meaningful only if the function returns
- True.
-
- yyyy Specifies the pointer in which the y position, relative
- to the upper left corner of the widget, is returned.
- This value is meaningful only if the function returns
- True.
-
- For a complete definition of TextField and its associated
- resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- This function returns True if the character position is
- displayed in the TextField widget; otherwise, it returns
- False, and no xxxx or yyyy value is returned.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_T_e_x_t_F_i_e_l_d(_3_X).
-
-
-
-
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-